home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Examples / MiscStringRegex / Makefile next >
Makefile  |  1994-10-24  |  566b  |  24 lines

  1. # Makefile for compiling simple MiscKit examples
  2. # Written and Copyright (C) 1994, by Don Yacktman, all rights reserved.
  3.  
  4. NAME = test
  5. TARGET_ARCHS = m68k i386
  6. ARCHIFY = /usr/lib/arch_tool -archify_list
  7. ARCH_FLAGS = `$(ARCHIFY) $(TARGET_ARCHS)`
  8.  
  9. LIBS = -lMiscKit -lNeXT_s
  10.  
  11. # If necessary, change these to reflect your installation
  12. CFLAGS = -ObjC -O2 -pipe -Wall -L../../Source -L/LocalDeveloper/Libraries \
  13.                        -I../../Headers $(ARCH_FLAGS)
  14.  
  15. all: $(NAME)
  16.  
  17. $(NAME):
  18.     cc $(CFLAGS) -o $(NAME) $(NAME).m $(LIBS)
  19.     strip $(NAME)
  20.  
  21. clean:
  22.     rm -rf $(NAME)
  23.  
  24.